package com.lagou.hbase;

import java.io.IOException;

/**
 * @Author Cao Dun
 * @Date 2021/3/25 21:14
 * @Version 1.0
 * @Description
 */
public class Test {
    public static void main(String[] args) throws IOException {
        FriendClient friendClient = new FriendClient("friends");
        //初始化
        friendClient.initConnect();
        //创建表
        friendClient.createTable();
        //添加数据
        friendClient.putData();
        //删除某列值为某数据的数据
        //删除uid5的好友uid1
        friendClient.deleteValue("uid3","info","uid1",true);

        //释放连接
        friendClient.release();
    }
}
